home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: cdf.toronto.edu!a209dowm
- From: a209dowm@cdf.toronto.edu (P A U L)
- Subject: how many characters have been read from ifstream?
- Message-ID: <DpCyDr.5yK@cdf.toronto.edu>
- Sender: a209dowm@cdf.toronto.edu (Dowman Paul)
- Nntp-Posting-Host: quince
- Organization: University of Toronto Computing Disciplines Facility
- Date: Thu, 4 Apr 1996 21:58:35 GMT
-
- is there any way to check how many characters have been read from an ifstream?
-
- The reason I want to know is because my program is processing a file, and about
- halfway through the file in_stream.eof() returns 1 (the ifstream object is named
- in_stream). I'm certain that it's only halfway through the file, because I've
- stepped through the program line-by-line.
-
- thanks,
- Paul.
-